package com.example.haojiutao.model.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 浏览记录
 * @Author: ma_jun
 * @CreateTime: 2023/12/13 9:43
 */
@Data
public class History {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private String goodsName;
    private String production;
    private Double price;
    private String image;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer delFlag;
}
